import { useZIndex } from 'element-plus';
import { onMounted } from 'vue';
/*
 * @Date: 2023-02-16 21:53:05
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-02-16 21:59:40
 * @FilePath: \A19\frontend\src\hooks\RTChook.ts
 */
export async function RTChook(){
    let screenStream:MediaStream = await navigator.mediaDevices.getDisplayMedia()

    return{
        screenStream
    }
}